package com.love.marriage.userChatInfo.service;

import com.love.marriage.userChatInfo.vo.UserChatInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.userChatInfo.entity.UserChatInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 用户聊天记录表 服务类
 * author: mybatisPlus
 * createDate: 2024-10-20 01:13:08
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface UserChatInfoService extends IService<UserChatInfo> {

    Page<UserChatInfoVo> getPage(Long pageNum, Long pageSize, UserChatInfoVo userChatInfoVo);

    UserChatInfoVo queryUserChatInfo(Long id);

    UserChatInfoVo queryUserChatInfoByUserId(Long userId, String type);

    UserChatInfoVo addUserChatInfo(UserChatInfoVo userChatInfoVo);

    UserChatInfoVo addInfo(UserChatInfoVo userChatInfoVo);

    UserChatInfoVo updateUserChatInfo(UserChatInfoVo userChatInfoVo);

    Boolean deleteUserChatInfo(String ids);
}
